<!--
 * @Description: 
 * @version: 
 * @Author: Eve
 * @Date: 2019-08-16 07:03:43
 * @LastEditors: Eve
 * @LastEditTime: 2019-10-07 16:16:52
 -->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    html,
    body {
      height: 100%;
    }

    .content {
      width: 1680px;
      height: 100%;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column;
    }

    .item {
      width: 427px;
      height: 385px;
      background: #787d88;
      margin-bottom: 80px;
      margin-left: 20px;
      /*不留白，不知道什么意思可以取消这个样式试试*/
    }

    .long {
      height: 854px;
    }
  </style>
</head>

<body>
  <div class="content">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item long"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item long"></div>
    <div class="item"></div>
  </div>
</body>
<script>
// window.onbeforeunload = function () {
//     window.open('http://www.baidu.com?time=8888')
//   }
</script>
<script src="./手写Promise.js"></script>

</html>